package sctu.edu.java.year2016.team01.chenhong.day20160525.exercise;

import sctu.edu.java.year2016.team01.chenhong.day20160525.exercise.Cat;
import sctu.edu.java.year2016.team01.chenhong.day20160525.exercise.Dog;
import sctu.edu.java.year2016.team01.chenhong.day20160525.exercise.Sheep;

/**
 * Created by Administrator on 2016/5/25.
 */
public class Zoo {
    public static void main(String[] args) {
        Dog dog=new Dog();
        System.out.println("执行dog.cry();语句时的输出结果：");
        dog.cry();
        Cat cat=new Cat();
        System.out.println("执行cat.cry();语句时的输出结果：");
        cat.cry();
        Sheep sheep=new Sheep();
        System.out.println("执行sheep.cry();语句时的输出结果：");
        sheep.cry();

    }
}
